package net.maxwoods.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class TestController  {

    private static Logger logger=LoggerFactory.getLogger(TestController.class);

    public TestController()
    {
        logger.info("init:{}",TestController.class);
    }

    @RequestMapping("/testtest")
    public String Test()
    {
        logger.info("加载控制器:{}",TestController.class);
        return "test";
    }
}
